class Dog:
    def set_age(self,new_age):
        self.age = new_age
    def get_age(self):
        return self.age


dog = Dog()
dog.set_age(10)

print(dog.get_age())